package com.soar.tbox.protocol;

import android.annotation.SuppressLint;

import com.soar.tbox.DisplayHandler;
import com.soar.tbox.TboxTimer;
import com.soar.tbox.bean.Command;

/**
 * 数据采集上报_车辆状态定时上报停止指令处理
 * 
 * @author songjunjie
 * 
 */
public class Protocol0804 implements Protocol {
	/**
	 * 指令名. 车辆状态上报停止
	 */
	private static final String NAME = "0804";

	private Command cmd = null;
	private String serialNum = null;

	public Protocol0804(Command cmd, String serialNum) {
		this.cmd = cmd;
		this.serialNum = serialNum;
	}

	@SuppressLint("SimpleDateFormat")
	@Override
	public void handle() {
		DisplayHandler.show("执行车辆状态定时上报终止指令");
		TboxTimer.sotpTask(NAME);
		DisplayHandler.show("车辆状态定时上报终止");
	}
}